First Person View
Device Compatibility
The First Person View can only record virtual content on glasses without an RGB camera. Currently, only the XREAL One series glasses and the XREAL Eye accessory can be used to record first-person videos with real content.
Recording
- Drag “FPSStreamingCast” prefab into your scene
- Rebuild your app. You should see the toolbar with Record and Stream button when the raycast hit the bar-shaped region near the top of your sight.
- Click Record to start recording;
- Click the button again to finish recording
- You should find the recorded .mp4 file in your application folder or your local album.
Streaming
Operating environment
- Hardware: PC + Adapted mobile phone or Compute Unit + Xreal Light
- Software:
- XREAL SDK 3.0.0 and above
- Camera Features sample
- StreamingReceiver_V1.2.0
Steps
-
Download StreamingReceiver_V1.2.0.zip
-
Import Camera Features sample
-
Find “FirstPersonStreamingCast” scene in the sample folder
-
Build and install
-
Open the server application “StreamingReceiver/StreamingReceiver.exe” on Windows platform
Select FirstPersonView Menu.
-
Start the app build with XREAL SDK, When the ray is pointed to the top of the field of vision, the menu bar will appear. After you click the “stream” button, it will automatically search the server program in the local LAN, connect it, and then transmit the video stream.
Note
- Ensure Server and client are in the same local area network.
- Turn off the firewall on server
- A large number of devices connected to the same WiFi may cause streaming failure. Using a mobile hotspot is easier to succeed, or you can use a dedicated WiFi network.